package com.easyj.base.enums;



public enum MutiApplyStatusEnum {
	 WAITING("等待审批", 1),
	 WaitAudit("等待审核",  2),
	 PASSED("审核通过",  10),
	 REJECT("审核不通过", 11),
	 CANCEl("取消", 99);
	// 成员变量
    private String text;
    private int key;

    // 构造方法
    private MutiApplyStatusEnum(String text, int key) {
        this.text = text;
        this.key = key;
    }
    
    // 普通方法
    public static String getText(int key) {
        for (MutiApplyStatusEnum c : MutiApplyStatusEnum.values()) {
            if (c.getKey() == key) {
                return c.text;
            }
        }
        return ""+key;
    }

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public int getKey() {
		return key;
	}

	public void setKey(int key) {
		this.key = key;
	}
    
    

}
